package me.mayt.wxfl.dao.mapper.interfaces;

import java.util.List;
import me.mayt.wxfl.dao.mapper.bo.Account;
import me.mayt.wxfl.dao.mapper.bo.AccountCriteria;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AccountMapper {
    long countByExample(AccountCriteria example);

    int deleteByExample(AccountCriteria example);

    int deleteByPrimaryKey(String userId);

    int insert(Account record);

    int insertSelective(Account record);

    List<Account> selectByExampleWithRowbounds(AccountCriteria example, RowBounds rowBounds);

    List<Account> selectByExample(AccountCriteria example);

    Account selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") Account record, @Param("example") AccountCriteria example);

    int updateByExample(@Param("record") Account record, @Param("example") AccountCriteria example);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
}